<!-- HTML header for doxygen 1.8.13-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.13"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>MTB CAT1 Peripheral driver library: Functions</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen_style.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><a href="http://www.cypress.com/"><img alt="Logo" src="IFXCYP_one-line.png"/></a></td>
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">MTB CAT1 Peripheral driver library</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.13 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('group__group__tcpwm__functions__motif.html','');});
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#func-members">Functions</a>  </div>
  <div class="headertitle">
<div class="title">Functions<div class="ingroups"><a class="el" href="group__group__tcpwm.html">TCPWM        (Timer Counter PWM)</a> &raquo; <a class="el" href="group__group__tcpwm__motif.html">Motion Interface (TCPWM)</a></div></div>  </div>
</div><!--header-->
<div class="contents">
<a name="details" id="details"></a><h2 class="groupheader">General Description</h2>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:ga2097fe02ea6b65758d2a9e2479b0c309"><td class="memItemLeft" align="right" valign="top">__STATIC_INLINE void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__tcpwm__functions__motif.html#ga2097fe02ea6b65758d2a9e2479b0c309">Cy_TCPWM_MOTIF_Enable</a> (TCPWM_MOTIF_GRP_MOTIF_Type *base)</td></tr>
<tr class="memdesc:ga2097fe02ea6b65758d2a9e2479b0c309"><td class="mdescLeft">&#160;</td><td class="mdescRight">Enables the MOTIF module.  <a href="#ga2097fe02ea6b65758d2a9e2479b0c309">More...</a><br /></td></tr>
<tr class="separator:ga2097fe02ea6b65758d2a9e2479b0c309"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga2175c58bc48b163fd7bfde67cc6f88ba"><td class="memItemLeft" align="right" valign="top">__STATIC_INLINE void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__tcpwm__functions__motif.html#ga2175c58bc48b163fd7bfde67cc6f88ba">Cy_TCPWM_MOTIF_Disable</a> (TCPWM_MOTIF_GRP_MOTIF_Type *base)</td></tr>
<tr class="memdesc:ga2175c58bc48b163fd7bfde67cc6f88ba"><td class="mdescLeft">&#160;</td><td class="mdescRight">Disables the MOTIF Module.  <a href="#ga2175c58bc48b163fd7bfde67cc6f88ba">More...</a><br /></td></tr>
<tr class="separator:ga2175c58bc48b163fd7bfde67cc6f88ba"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga938ef0ff378b2fb0b4d43f3ee6a3ab55"><td class="memItemLeft" align="right" valign="top">__STATIC_INLINE void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__tcpwm__functions__motif.html#ga938ef0ff378b2fb0b4d43f3ee6a3ab55">Cy_TCPWM_MOTIF_Start</a> (TCPWM_MOTIF_GRP_MOTIF_Type *base)</td></tr>
<tr class="memdesc:ga938ef0ff378b2fb0b4d43f3ee6a3ab55"><td class="mdescLeft">&#160;</td><td class="mdescRight">Modulation output from motif is started with existing values.  <a href="#ga938ef0ff378b2fb0b4d43f3ee6a3ab55">More...</a><br /></td></tr>
<tr class="separator:ga938ef0ff378b2fb0b4d43f3ee6a3ab55"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga69df913a69bc831f646715bf54d99051"><td class="memItemLeft" align="right" valign="top">__STATIC_INLINE void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__tcpwm__functions__motif.html#ga69df913a69bc831f646715bf54d99051">Cy_TCPWM_MOTIF_Stop</a> (TCPWM_MOTIF_GRP_MOTIF_Type *base)</td></tr>
<tr class="memdesc:ga69df913a69bc831f646715bf54d99051"><td class="mdescLeft">&#160;</td><td class="mdescRight">Modulation output from motif retains the existing values and MOTIF functionality Stops.  <a href="#ga69df913a69bc831f646715bf54d99051">More...</a><br /></td></tr>
<tr class="separator:ga69df913a69bc831f646715bf54d99051"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga95e58d05a210c071b55a87e464a526e4"><td class="memItemLeft" align="right" valign="top">__STATIC_INLINE void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__tcpwm__functions__motif.html#ga95e58d05a210c071b55a87e464a526e4">Cy_TCPWM_MOTIF_DeInit</a> (TCPWM_MOTIF_GRP_MOTIF_Type *base)</td></tr>
<tr class="memdesc:ga95e58d05a210c071b55a87e464a526e4"><td class="mdescLeft">&#160;</td><td class="mdescRight">De initializes MOTIF block.  <a href="#ga95e58d05a210c071b55a87e464a526e4">More...</a><br /></td></tr>
<tr class="separator:ga95e58d05a210c071b55a87e464a526e4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga28c432c78199757d1df7d1926e227dc3"><td class="memItemLeft" align="right" valign="top">__STATIC_INLINE void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__tcpwm__functions__motif.html#ga28c432c78199757d1df7d1926e227dc3">Cy_TCPWM_MOTIF_Suspend</a> (TCPWM_MOTIF_GRP_MOTIF_Type *base, <a class="el" href="group__group__tcpwm__data__structures__motif.html#ga9e246e25dcceb9149c90b26d8abf4cc0">cy_en_motif_suspend_config_t</a> suspend_config)</td></tr>
<tr class="memdesc:ga28c432c78199757d1df7d1926e227dc3"><td class="mdescLeft">&#160;</td><td class="mdescRight">Configures the entering in suspend for the MOTIF module.  <a href="#ga28c432c78199757d1df7d1926e227dc3">More...</a><br /></td></tr>
<tr class="separator:ga28c432c78199757d1df7d1926e227dc3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga01921ffbfdb86ac77ab67c7f8749927b"><td class="memItemLeft" align="right" valign="top">__STATIC_INLINE uint32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__tcpwm__functions__motif.html#ga01921ffbfdb86ac77ab67c7f8749927b">Cy_TCPWM_MOTIF_GetInterruptStatus</a> (TCPWM_MOTIF_GRP_MOTIF_Type *base)</td></tr>
<tr class="memdesc:ga01921ffbfdb86ac77ab67c7f8749927b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Reports the status of the interrupts.  <a href="#ga01921ffbfdb86ac77ab67c7f8749927b">More...</a><br /></td></tr>
<tr class="separator:ga01921ffbfdb86ac77ab67c7f8749927b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga6924bb29473783a10d7db344acb91149"><td class="memItemLeft" align="right" valign="top">__STATIC_INLINE void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__tcpwm__functions__motif.html#ga6924bb29473783a10d7db344acb91149">Cy_TCPWM_MOTIF_ClearInterrupt</a> (TCPWM_MOTIF_GRP_MOTIF_Type *base, uint32_t mask)</td></tr>
<tr class="memdesc:ga6924bb29473783a10d7db344acb91149"><td class="mdescLeft">&#160;</td><td class="mdescRight">Clears the triggered interrupts.  <a href="#ga6924bb29473783a10d7db344acb91149">More...</a><br /></td></tr>
<tr class="separator:ga6924bb29473783a10d7db344acb91149"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga58955b688352d16504628dca56d4a62a"><td class="memItemLeft" align="right" valign="top">__STATIC_INLINE void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__tcpwm__functions__motif.html#ga58955b688352d16504628dca56d4a62a">Cy_TCPWM_MOTIF_SetInterrupt</a> (TCPWM_MOTIF_GRP_MOTIF_Type *base, uint32_t mask)</td></tr>
<tr class="memdesc:ga58955b688352d16504628dca56d4a62a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Software option to set the required interrupts.  <a href="#ga58955b688352d16504628dca56d4a62a">More...</a><br /></td></tr>
<tr class="separator:ga58955b688352d16504628dca56d4a62a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga558fd95b347489c9e1b32475a574248b"><td class="memItemLeft" align="right" valign="top">__STATIC_INLINE void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__tcpwm__functions__motif.html#ga558fd95b347489c9e1b32475a574248b">Cy_TCPWM_MOTIF_SetInterruptMask</a> (TCPWM_MOTIF_GRP_MOTIF_Type *base, uint32_t mask)</td></tr>
<tr class="memdesc:ga558fd95b347489c9e1b32475a574248b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets one or more MOTIF module interrupt factor bits (sets the INTR_MASK register).  <a href="#ga558fd95b347489c9e1b32475a574248b">More...</a><br /></td></tr>
<tr class="separator:ga558fd95b347489c9e1b32475a574248b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaacf95310fe241ade5db8e8e767adb497"><td class="memItemLeft" align="right" valign="top">__STATIC_INLINE uint32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__tcpwm__functions__motif.html#gaacf95310fe241ade5db8e8e767adb497">Cy_TCPWM_MOTIF_GetInterruptMask</a> (TCPWM_MOTIF_GRP_MOTIF_Type *base)</td></tr>
<tr class="memdesc:gaacf95310fe241ade5db8e8e767adb497"><td class="mdescLeft">&#160;</td><td class="mdescRight">Reports the interrupt mask set.  <a href="#gaacf95310fe241ade5db8e8e767adb497">More...</a><br /></td></tr>
<tr class="separator:gaacf95310fe241ade5db8e8e767adb497"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga149a1f7adf75cc760b3cba5e7ae5e8dd"><td class="memItemLeft" align="right" valign="top">__STATIC_INLINE uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__tcpwm__functions__motif.html#ga149a1f7adf75cc760b3cba5e7ae5e8dd">Cy_TCPWM_MOTIF_Get_LUT_Status</a> (TCPWM_MOTIF_GRP_MOTIF_Type *base)</td></tr>
<tr class="memdesc:ga149a1f7adf75cc760b3cba5e7ae5e8dd"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns a value that points to the corresponding input Hall LUT values set.  <a href="#ga149a1f7adf75cc760b3cba5e7ae5e8dd">More...</a><br /></td></tr>
<tr class="separator:ga149a1f7adf75cc760b3cba5e7ae5e8dd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga1156c5d0e13925804602cc570429e641"><td class="memItemLeft" align="right" valign="top">__STATIC_INLINE void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__tcpwm__functions__motif.html#ga1156c5d0e13925804602cc570429e641">Cy_TCPWM_MOTIF_Set_LUT_Mode</a> (TCPWM_MOTIF_GRP_MOTIF_Type *base, bool lut_enable)</td></tr>
<tr class="memdesc:ga1156c5d0e13925804602cc570429e641"><td class="mdescLeft">&#160;</td><td class="mdescRight">Enables/disables LUT mode.  <a href="#ga1156c5d0e13925804602cc570429e641">More...</a><br /></td></tr>
<tr class="separator:ga1156c5d0e13925804602cc570429e641"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaf3aab7584e93da3c75b802916b79195f"><td class="memItemLeft" align="right" valign="top">uint16_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__tcpwm__functions__motif.html#gaf3aab7584e93da3c75b802916b79195f">Cy_TCPWM_MOTIF_Get_Lowpass_Filter_Status</a> (TCPWM_MOTIF_GRP_MOTIF_Type *base, <a class="el" href="group__group__tcpwm__data__structures__motif.html#gac0b6f7833554817cccfac37896d6700a">cy_en_low_pass_filter_number_t</a> lowpass_filter)</td></tr>
<tr class="memdesc:gaf3aab7584e93da3c75b802916b79195f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the status of the low pass filter.  <a href="#gaf3aab7584e93da3c75b802916b79195f">More...</a><br /></td></tr>
<tr class="separator:gaf3aab7584e93da3c75b802916b79195f"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<h2 class="groupheader">Function Documentation</h2>
<a id="ga2097fe02ea6b65758d2a9e2479b0c309"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga2097fe02ea6b65758d2a9e2479b0c309">&#9670;&nbsp;</a></span>Cy_TCPWM_MOTIF_Enable()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">__STATIC_INLINE void Cy_TCPWM_MOTIF_Enable </td>
          <td>(</td>
          <td class="paramtype">TCPWM_MOTIF_GRP_MOTIF_Type *&#160;</td>
          <td class="paramname"><em>base</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Enables the MOTIF module. </p>
<p>Modulation output from motif is started with it's default values</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">base</td><td>The pointer to the TCPWM_MOTIF instance address. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="ga2175c58bc48b163fd7bfde67cc6f88ba"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga2175c58bc48b163fd7bfde67cc6f88ba">&#9670;&nbsp;</a></span>Cy_TCPWM_MOTIF_Disable()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">__STATIC_INLINE void Cy_TCPWM_MOTIF_Disable </td>
          <td>(</td>
          <td class="paramtype">TCPWM_MOTIF_GRP_MOTIF_Type *&#160;</td>
          <td class="paramname"><em>base</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Disables the MOTIF Module. </p>
<p>Modulation output from motif is reset to it's default value</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">base</td><td>The pointer to the TCPWM_MOTIF instance address. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="ga938ef0ff378b2fb0b4d43f3ee6a3ab55"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga938ef0ff378b2fb0b4d43f3ee6a3ab55">&#9670;&nbsp;</a></span>Cy_TCPWM_MOTIF_Start()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">__STATIC_INLINE void Cy_TCPWM_MOTIF_Start </td>
          <td>(</td>
          <td class="paramtype">TCPWM_MOTIF_GRP_MOTIF_Type *&#160;</td>
          <td class="paramname"><em>base</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Modulation output from motif is started with existing values. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">base</td><td>The pointer to the TCPWM_MOTIF instance address. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="ga69df913a69bc831f646715bf54d99051"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga69df913a69bc831f646715bf54d99051">&#9670;&nbsp;</a></span>Cy_TCPWM_MOTIF_Stop()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">__STATIC_INLINE void Cy_TCPWM_MOTIF_Stop </td>
          <td>(</td>
          <td class="paramtype">TCPWM_MOTIF_GRP_MOTIF_Type *&#160;</td>
          <td class="paramname"><em>base</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Modulation output from motif retains the existing values and MOTIF functionality Stops. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">base</td><td>The pointer to the TCPWM_MOTIF instance address. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="ga95e58d05a210c071b55a87e464a526e4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga95e58d05a210c071b55a87e464a526e4">&#9670;&nbsp;</a></span>Cy_TCPWM_MOTIF_DeInit()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">__STATIC_INLINE void Cy_TCPWM_MOTIF_DeInit </td>
          <td>(</td>
          <td class="paramtype">TCPWM_MOTIF_GRP_MOTIF_Type *&#160;</td>
          <td class="paramname"><em>base</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>De initializes MOTIF block. </p>
<p>param base The pointer to the TCPWM_MOTIF instance address. </p>

</div>
</div>
<a id="ga28c432c78199757d1df7d1926e227dc3"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga28c432c78199757d1df7d1926e227dc3">&#9670;&nbsp;</a></span>Cy_TCPWM_MOTIF_Suspend()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">__STATIC_INLINE void Cy_TCPWM_MOTIF_Suspend </td>
          <td>(</td>
          <td class="paramtype">TCPWM_MOTIF_GRP_MOTIF_Type *&#160;</td>
          <td class="paramname"><em>base</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="group__group__tcpwm__data__structures__motif.html#ga9e246e25dcceb9149c90b26d8abf4cc0">cy_en_motif_suspend_config_t</a>&#160;</td>
          <td class="paramname"><em>suspend_config</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Configures the entering in suspend for the MOTIF module. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">base</td><td>The pointer to the TCPWM_MOTIF instance address.</td></tr>
    <tr><td class="paramname">suspend_config</td><td><a class="el" href="group__group__tcpwm__data__structures__motif.html#ga9e246e25dcceb9149c90b26d8abf4cc0">cy_en_motif_suspend_config_t</a> </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="ga01921ffbfdb86ac77ab67c7f8749927b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga01921ffbfdb86ac77ab67c7f8749927b">&#9670;&nbsp;</a></span>Cy_TCPWM_MOTIF_GetInterruptStatus()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">__STATIC_INLINE uint32_t Cy_TCPWM_MOTIF_GetInterruptStatus </td>
          <td>(</td>
          <td class="paramtype">TCPWM_MOTIF_GRP_MOTIF_Type *&#160;</td>
          <td class="paramname"><em>base</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Reports the status of the interrupts. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">base</td><td>The pointer to the TCPWM_MOTIF instance address.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>returns the Status of the interrupts </dd></dl>

</div>
</div>
<a id="ga6924bb29473783a10d7db344acb91149"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga6924bb29473783a10d7db344acb91149">&#9670;&nbsp;</a></span>Cy_TCPWM_MOTIF_ClearInterrupt()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">__STATIC_INLINE void Cy_TCPWM_MOTIF_ClearInterrupt </td>
          <td>(</td>
          <td class="paramtype">TCPWM_MOTIF_GRP_MOTIF_Type *&#160;</td>
          <td class="paramname"><em>base</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint32_t&#160;</td>
          <td class="paramname"><em>mask</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Clears the triggered interrupts. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">base</td><td>The pointer to the TCPWM_MOTIF instance address.</td></tr>
    <tr><td class="paramname">mask</td><td>interrupts to be cleared. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="ga58955b688352d16504628dca56d4a62a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga58955b688352d16504628dca56d4a62a">&#9670;&nbsp;</a></span>Cy_TCPWM_MOTIF_SetInterrupt()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">__STATIC_INLINE void Cy_TCPWM_MOTIF_SetInterrupt </td>
          <td>(</td>
          <td class="paramtype">TCPWM_MOTIF_GRP_MOTIF_Type *&#160;</td>
          <td class="paramname"><em>base</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint32_t&#160;</td>
          <td class="paramname"><em>mask</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Software option to set the required interrupts. </p>
<p>Interrupt handler will be called.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">base</td><td>The pointer to the TCPWM_MOTIF instance address.</td></tr>
    <tr><td class="paramname">mask</td><td>interrupts to be set. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="ga558fd95b347489c9e1b32475a574248b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga558fd95b347489c9e1b32475a574248b">&#9670;&nbsp;</a></span>Cy_TCPWM_MOTIF_SetInterruptMask()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">__STATIC_INLINE void Cy_TCPWM_MOTIF_SetInterruptMask </td>
          <td>(</td>
          <td class="paramtype">TCPWM_MOTIF_GRP_MOTIF_Type *&#160;</td>
          <td class="paramname"><em>base</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint32_t&#160;</td>
          <td class="paramname"><em>mask</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Sets one or more MOTIF module interrupt factor bits (sets the INTR_MASK register). </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">base</td><td>The pointer to the TCPWM_MOTIF instance address.</td></tr>
    <tr><td class="paramname">mask</td><td>interrupt Interrupt bit mask </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="gaacf95310fe241ade5db8e8e767adb497"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gaacf95310fe241ade5db8e8e767adb497">&#9670;&nbsp;</a></span>Cy_TCPWM_MOTIF_GetInterruptMask()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">__STATIC_INLINE uint32_t Cy_TCPWM_MOTIF_GetInterruptMask </td>
          <td>(</td>
          <td class="paramtype">TCPWM_MOTIF_GRP_MOTIF_Type *&#160;</td>
          <td class="paramname"><em>base</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Reports the interrupt mask set. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">base</td><td>The pointer to the TCPWM_MOTIF instance address.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>returns the interrupt mask set </dd></dl>

</div>
</div>
<a id="ga149a1f7adf75cc760b3cba5e7ae5e8dd"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga149a1f7adf75cc760b3cba5e7ae5e8dd">&#9670;&nbsp;</a></span>Cy_TCPWM_MOTIF_Get_LUT_Status()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">__STATIC_INLINE uint8_t Cy_TCPWM_MOTIF_Get_LUT_Status </td>
          <td>(</td>
          <td class="paramtype">TCPWM_MOTIF_GRP_MOTIF_Type *&#160;</td>
          <td class="paramname"><em>base</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Returns a value that points to the corresponding input Hall LUT values set. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">base</td><td>The pointer to the TCPWM_MOTIF instance address.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>value that points to the corresponding input Hall LUT values set</dd></dl>
<dl class="section note"><dt>Note</dt><dd>If LUT mode is not enabled this function returns always 0. In Lut mode the Valid values that this function return are 0,1,2,3,4,5. Each value points to the corresponding input Hall LUT values set. Invalid values are 6,7 </dd></dl>

</div>
</div>
<a id="ga1156c5d0e13925804602cc570429e641"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga1156c5d0e13925804602cc570429e641">&#9670;&nbsp;</a></span>Cy_TCPWM_MOTIF_Set_LUT_Mode()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">__STATIC_INLINE void Cy_TCPWM_MOTIF_Set_LUT_Mode </td>
          <td>(</td>
          <td class="paramtype">TCPWM_MOTIF_GRP_MOTIF_Type *&#160;</td>
          <td class="paramname"><em>base</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>lut_enable</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Enables/disables LUT mode. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">base</td><td>The pointer to the TCPWM_MOTIF instance address.</td></tr>
    <tr><td class="paramname">lut_enable</td><td>LUT mode enable disable</td></tr>
  </table>
  </dd>
</dl>
<dl class="section note"><dt>Note</dt><dd>HALL Sensor works in LUT mode enabled and disabled. When LUT mode is enabled user provides look up table values and they will be compared with the actual output values. When motor changes direction, MOTIF is stopped and user need to populate the LUT again. </dd>
<dd>
This function is used to enable disable LUT mode. Sam function for both HALL Sensor mode and Multi channel pattern mode </dd></dl>

</div>
</div>
<a id="gaf3aab7584e93da3c75b802916b79195f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gaf3aab7584e93da3c75b802916b79195f">&#9670;&nbsp;</a></span>Cy_TCPWM_MOTIF_Get_Lowpass_Filter_Status()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint16_t Cy_TCPWM_MOTIF_Get_Lowpass_Filter_Status </td>
          <td>(</td>
          <td class="paramtype">TCPWM_MOTIF_GRP_MOTIF_Type *&#160;</td>
          <td class="paramname"><em>base</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="group__group__tcpwm__data__structures__motif.html#gac0b6f7833554817cccfac37896d6700a">cy_en_low_pass_filter_number_t</a>&#160;</td>
          <td class="paramname"><em>lowpass_filter</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Returns the status of the low pass filter. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">base</td><td>The pointer to the TCPWM_MOTIF instance address.</td></tr>
    <tr><td class="paramname">lowpass_filter</td><td>low pass filter. <a class="el" href="group__group__tcpwm__data__structures__motif.html#gac0b6f7833554817cccfac37896d6700a">cy_en_low_pass_filter_number_t</a></td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The status of the low pass filter </dd></dl>

</div>
</div>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part
<div id="nav-path" class="navpath">
    <ul>
        <li class="footer">
            Generated for <b>MTB CAT1 Peripheral driver library</b> by <b>Cypress Semiconductor Corporation</b>.
            All rights reserved.
        </li>
    </ul>
</div>
-->
</body>
</html>
